package com.link.base.base.wechat.service;

import com.link.base.base.wechat.dao.mybatis.mapper.SendToAllFollowersMapper;
import com.link.base.base.wechat.model.MpnewsTimer;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 消息发送规则实现类
 *
 * @author 路江
 * @date 2018-05
 */
@Service
public class SendToAllFollowersServiceImpl extends BasicServiceImpl<MpnewsTimer> implements SendToAllFollowersService {

    @Resource
    private SendToAllFollowersMapper sendToAllFollowersMapper;

    @Override
    public BasicMapper<MpnewsTimer> getBasicMapper() {
        return sendToAllFollowersMapper;
    }

    @Override
    public List<MpnewsTimer> queryResult(MpnewsTimer mpnewsTimer) {
        return sendToAllFollowersMapper.queryResult(mpnewsTimer);
    }
}
